package com.res.share.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 下载
 * </p>
 *
 * @author astupidcoder
 * @since 2021-09-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class ResDown extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @TableField("ART_ID")
    private Integer artId;

    /**
     * 下载次数
     */
    @TableField("Num")
    private Integer num;

    @TableField("CREATE_USER_ID")
    private Integer createUserId;

    @TableField("CREATE_TIME")
    private Date createTime;

    @TableField("UPDATE_USER_ID")
    private Integer updateUserId;

    @TableField("UPDATE_TIME")
    private Date updateTime;

    @TableField("IS_DEL")
    private Integer isDel;


    @TableField(exist = false)
    private String title;

    @TableField(exist = false)
    private Integer articleId;

    @TableField(exist = false)
    private String titleImg;

}
